home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Info-Mac 3
/
Info_Mac_1994-01.iso
/
Games
/
Commercial
/
CYAC Keys
/
Trash me
< prev
Wrap
Text File
|
1993-11-12
|
2KB
|
42 lines
CYAC Keys
by François Pottier (pottier@dmi.ens.fr)
I wrote this little hack because I like to fly Chuck Yeager's Air Combat
with the keyboard, but the view keys are not at all practical. You have
to press Option and a key on the numeric keypad, and since the keypad
is also used to steer the plane, you have to fly straight for a second
just to look behind. This can be deadly.
If you have an extended keyboard, CYAC Keys will let you use the function
keys (F1 to F10) to select views. Here is the new key map. It's the same
as the PC version.
F1 : look forward Shift-F1 : external forward
F2 : look backward Shift-F2 : external backward
F3 : look left Shift-F3 : external left
F4 : look right Shift-F4 : external right
F5 : look up Shift-F5 : external below
F6 : look down Shift-F6 : external above
F7 : player->target Shift-F7 : target's cockpit
F8 : target->player Shift-F8 : external target
F9 : map Shift-F9 : circling
F10 : fly-by Shift-F10 : missile camera
The INIT does its little job only when CYAC is running. In order to know what's
running, it compares the current application's name with a string stored in its
resource fork. By default, this string is "CYAC". You can change it with ResEdit
if you want to call your application another name. By the way, the shorter the
name, the less speed you lose by installing this patch.
The patch uses almost no memory (less than 800 bytes) and almost no computing
power. When CYAC isn't running, the extra CPU load is virtually zero. This makes
it possible to keep CYAC Keys in your Extensions folder all the time, it won't hog
your machine.
CYAC Keys should work with all machines and system versions. Of course you
need an extended keyboard.
This is only a one-night hack, so I make no warranties whatsoever regarding its
fitness for any particular purpose... Got it ?
CYAC Keys is of course freeware. Feel free to distribute it. Suggestions and bug
reports can be sent to pottier@dmi.ens.fr (Internet). Enjoy!